package org.gbis.openbus;

import org.junit.Test;

import com.thoughtworks.xstream.XStream;

public class TestXstream {

	@Test
	public void testXstream() {
		System.out.println( "Hello....." );

		XStream xstream = new XStream();

		SearchResult joe = SearchResult.getNewSearchResult();

		joe.addItem( new Route());
		joe.addItem( new Station() );
		joe.addItem( new RouteBus() );

		String xml = joe.getXml();

		System.out.println( xml );
		System.out.println( "Good bye!!!" );
		System.exit( 0 );
	}

}
